<div class="page">
	<div class="layoutBox">

	<form method="post" action="__URL__/update/navTabId/__MODULE__" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
		<input type="hidden" name="classid" value="{$vo.classid}" />
		<div class="pageFormContent" layoutH="100">

		<div class="unit">
			<label>分类名：</label>
			<input name="classtitle" type="text" class="required" value="{$vo.classtitle}" size="40">
		</div>		
		<div class="unit">
			<label>所属分类：</label>
            <input name="categoryName" type="text" class="required" id="categoryName_edit_2" value="{$vo.classpid|getCategoryName}" size="40" readonly="readonly"/>
            <a class="unit btn" href="__APP__/Ui/tree/selparent/1/selmore/0/cid/pid_edit_2/cname/categoryName_edit_2" target="dialog" rel="tree" mask="true" title="选择分类" width="400" height="450">选择分类</a>
            <input type="hidden" id="pid_edit_2" name="classpid" value="{$vo.classpid}" />
		</div>		
		<div class="unit">
			<label>所属模型：</label>
			<SELECT name="classmodule" class="required">
            	<option value="">--</option>
				<volist name="classmodule" id="vl">
					<option value="{$key}" <eq name="key" value="$vo.classmodule">selected</eq>>{$vl}</option>
				</volist>
			</SELECT>
		</div>			
		<div class="unit">
			<label>排序值：</label>
			<input type="text" name="classsort" size="40" maxlength="30" value="{$vo.classsort}"/>
		</div>			
		<div class="unit">
			<label>状态：</label>
			<select class="small bLeft"  name="classstatus">
				<option <eq name="vo.classstatus" value="1" >selected</eq> value="1">启用</option>
				<option <eq name="vo.classstatus" value="0" >selected</eq> value="0">禁用</option>
			</select>
		</div>
		<div class="unit">
			<label>URL重写值：</label>
			<input type="text" name="classrewrite" size="40" value="{$vo.classrewrite}"/>
            <span>如：news</span>
		</div>
		<div class="unit">
			<label>分类模板：</label>
			<input type="text" name="classtemplate" id="classtemplate_edit_1" size="30" value="{$vo.classtemplate}"/>
            <a href="__APP__/Ui/seltpl/tplname/classtemplate_edit_1" class="unit btn" target="dialog" rel="btn_tpl" mask="true" title="选择模板" width="600" height="800">选择模板</a>
            <span>格式如：</span>
            <select>
            <option>直接选择模板</option>
            <option>index2.html</option>
            <option>index2.php</option>
            <option>index2</option>
            <option>Public:abc</option>
            </select>
		</div>		
        <div class="unit">
            <label>文章模板：</label>
            <input type="text" name="newstemplate" id="newstemplate_edit_1" size="30" value="{$vo.newstemplate}"/>
            <a href="__APP__/Ui/seltpl/tplname/newstemplate_edit_1" class="unit btn" target="dialog" rel="btn_tpl" mask="true" title="选择模板" width="600" height="800">选择模板</a>
            <span>格式如：</span>
            <select>
            <option>直接选择模板</option>
            <option>index2.html</option>
            <option>index2.php</option>
            <option>index2</option>
            <option>Public:abc</option>
            </select>
        </div>					
		<div class="unit">
			<label>关键字：</label>
			<input type="text" size="40" name="classkeywords" value="{$vo.classkeywords}">
		</div>		
		<div class="unit">
			<label>描述：</label>
			<textarea name="classdescription"  rows="3" cols="50">{$vo.classdescription}</textarea>
		</div>
		
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">提交</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
		</div>
	</form>
	
	</div>
</div>
